package gwtadmin.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface IWsdlManager {

	String[] parseWsdlList(String listWsdl);
	
	void saveWsdl(String fileName, String wsdlText);
	void removeWsdl(String fileName);
	void downloadWsdl(String fileName);
	void getWsdl(String fileName, AsyncCallback<String> callback);
	void updateWsdlList(AsyncCallback<String> callback);
	void searchWsdl(boolean byPortType, String portType, String namespace, AsyncCallback<String> callback);
	void getWsdlTree(AsyncCallback<WsdlTreeInfo> callback);
	
	void goHome();
	void goBack();
	void goEditWsdl(String wsdlName);
	void goListWsdl();
	void goListSchema();
	void goListPolicy();
	void goWsdlTree();
	void goUploadWsdl();
	void goUploadSchema();
	void goUploadPolicy();
	void goSearch();

	void setAddress(String addr);
}
